Skip to main content
GET
/
players
/
getAllRostered
/
{league_id}
/
player_id
Get all Owned Players
curl --request GET \
  --url https://api.leaguesync.dev/players/getAllRostered/{league_id}/player_id \
  --header 'auth_token: <auth_token>'
{
  "league_id": 598254394714169300,
  "name": "Sleeperbot Dynasty",
  "num_teams": 12,
  "sport": "football",
  "league_url": "https://sleeper.app/leagues/598254394714169344",
  "season": 2020,
  "league_avatar": "http://sleepercdn.com/avatars/efaefa889ae24046a53265a3c71b8b64"
}

Headers

auth_token
string
required

User-platform auth_token supplied by LeagueSync API

Path Parameters

league_id
string
required

league_id to filter by

Response

successful operation

league_id
integer<int64>
required
Example:

598254394714169300

name
string
required
Example:

"Sleeperbot Dynasty"

num_teams
integer<int64>
Example:

12

sport
string
Example:

"football"

league_url
string
Example:

"https://sleeper.app/leagues/598254394714169344"

season
integer<int64>
Example:

2020

league_avatar
string
Example:

"http://sleepercdn.com/avatars/efaefa889ae24046a53265a3c71b8b64"